package com.cashmama.market.api.application.controller.authentication.personalInfo.vo;

import com.cashmama.market.api.application.controller.authentication.personalInfo.InputContent;
import com.cashmama.market.api.application.controller.authentication.vos.InputParams;
import com.cashmama.market.api.application.enums.ParamType;

/**
 * Created with IntelliJ IDEA.
 * User: yujianfu (mr.vencnet@gmail.com)
 * Date: 2019-12-23
 * Time: 14:35
 */
public class Residence {

    @InputContent(paramName = "Residence Info", param = "residenceTitle", paramType = ParamType.LABEL, required = false)
    private InputParams residenceTitle;

    @InputContent(paramName = "Current Address", param = "currentAddress", inputDesc = "Input your current address", paramType = ParamType.ADDRESS)
    private InputParams currentAddress;

    @InputContent(paramName = "Permanent Address", param = "permanentAddress", inputDesc = "Input your permanent address", paramType = ParamType.ADDRESS_COPY)
    private InputParams permanentAddress;

    @InputContent(paramName = "Current Pin Code", param = "currentPinCode", inputDesc = "Input your code", paramType = ParamType.TEXT)
    private InputParams currentPinCode;

    @InputContent(paramName = "Permanent Pin Code", param = "permanentPinCode", inputDesc = "Input your code", paramType = ParamType.TEXT)
    private InputParams permanentPinCode;

    public InputParams getResidenceTitle() {
        return residenceTitle;
    }

    public Residence setResidenceTitle(InputParams residenceTitle) {
        this.residenceTitle = residenceTitle;
        return this;
    }

    public InputParams getCurrentAddress() {
        return currentAddress;
    }

    public Residence setCurrentAddress(InputParams currentAddress) {
        this.currentAddress = currentAddress;
        return this;
    }

    public InputParams getCurrentPinCode() {
        return currentPinCode;
    }

    public Residence setCurrentPinCode(InputParams currentPinCode) {
        this.currentPinCode = currentPinCode;
        return this;
    }

    public InputParams getPermanentAddress() {
        return permanentAddress;
    }

    public Residence setPermanentAddress(InputParams permanentAddress) {
        this.permanentAddress = permanentAddress;
        return this;
    }

    public InputParams getPermanentPinCode() {
        return permanentPinCode;
    }

    public Residence setPermanentPinCode(InputParams permanentPinCode) {
        this.permanentPinCode = permanentPinCode;
        return this;
    }
}
